package com.superatom.java8.lambda;

import java.util.HashMap;
import java.util.Map;

public class MyMap {

    public static void main(String[] args) {
        Map<String, String> map = new HashMap();
        System.out.println(map.computeIfAbsent("key", k -> "value"));
    }
}
